package com.ruoyi.project.mapper;

import java.util.List;
import com.ruoyi.project.domain.YqgConsumptionDetails;
import com.ruoyi.project.domain.ZxyConsumptionDetails;

/**
 * 消费详细Mapper接口
 * 
 * @author dr
 * @date 2023-04-17
 */
public interface YqgConsumptionDetailsMapper 
{
    /**
     * 查询消费详细
     * 
     * @param ID 消费详细主键
     * @return 消费详细
     */
    public YqgConsumptionDetails selectYqgConsumptionDetailsByID(Long ID);

    /**
     * 查询消费详细列表
     * 
     * @param yqgConsumptionDetails 消费详细
     * @return 消费详细集合
     */
    public List<YqgConsumptionDetails> selectYqgConsumptionDetailsList(YqgConsumptionDetails yqgConsumptionDetails);
    public List<YqgConsumptionDetails> selectYqgConsumptionDetailsListdangri(YqgConsumptionDetails yqgConsumptionDetails);
    public List<YqgConsumptionDetails> selectYqgConsumptionDetailsListbyopentime(ZxyConsumptionDetails zxyConsumptionDetails);
    public List<YqgConsumptionDetails> ShaoselectYqgConsumptionDetailsList(YqgConsumptionDetails yqgConsumptionDetails);

    public List<YqgConsumptionDetails> YzxselectYqgConsumptionDetailsList(YqgConsumptionDetails yqgConsumptionDetails);



    /**
     * 新增消费详细
     * 
     * @param yqgConsumptionDetails 消费详细
     * @return 结果
     */
    public int insertYqgConsumptionDetails(YqgConsumptionDetails yqgConsumptionDetails);

    /**
     * 修改消费详细
     * 
     * @param yqgConsumptionDetails 消费详细
     * @return 结果
     */
    public int updateYqgConsumptionDetails(YqgConsumptionDetails yqgConsumptionDetails);

    /**
     * 删除消费详细
     * 
     * @param ID 消费详细主键
     * @return 结果
     */
    public int deleteYqgConsumptionDetailsByID(Long ID);

    /**
     * 批量删除消费详细
     * 
     * @param IDs 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYqgConsumptionDetailsByIDs(Long[] IDs);

    /**
     * 通过手牌号查消费信息
     *
     * @param handBrand 手牌号
     * @return 结果
     */
    public List<YqgConsumptionDetails> selectYqgConsumptionBrand(String handBrand);
}
